//
//  CameraUtils.h
//  SmartHome
//
//  Created by xulongwu on 14-11-19.
//  Copyright (c) 2014年 广州几维信息科技有限公司. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface CameraUtils : NSObject

+ (BOOL) isCameraOK;
+ (BOOL) isCameraAvailable;
+ (BOOL) isRearCameraAvailable;
+ (BOOL) isFrontCameraAvailable;
+ (BOOL) doesCameraSupportTakingPhotos;
+ (BOOL) isPhotoLibraryAvailable;
+ (BOOL) canUserPickVideosFromPhotoLibrary;
+ (BOOL) canUserPickPhotosFromPhotoLibrary;
+ (BOOL) cameraSupportsMedia:(NSString *)paramMediaType sourceType:(UIImagePickerControllerSourceType)paramSourceType;

@end
